//
//  EoeRefreshFooter.swift
//  Exchange
//
//  Created by rui on 2018/6/13.
//  Copyright © 2018年 common. All rights reserved.
//

import MJRefresh

class EoeRefreshFooter: MJRefreshAutoNormalFooter {

    override func prepare() {
        super.prepare()
        self.stateLabel.textColor = KRefreshColor
        self.stateLabel.font = UIFont.systemFont(ofSize: 14)
        self.setTitle(kText(MJRefreshAutoFooterNoMoreDataText), for: MJRefreshState.noMoreData)
        self.setTitle(kText(MJRefreshAutoFooterIdleText), for: MJRefreshState.idle)
        self.setTitle(kText(MJRefreshAutoFooterRefreshingText), for: MJRefreshState.refreshing)
    }
}
